package com.fenye.dao;

import java.util.List;
import java.util.Map;

import com.fenye.util.JdbcUtil;

public class StudentDaoImpl {
	public int getAllCount(){
		String sql ="select * from Student";
		Object[] obj = null;
		List<Map<String,String>> list =new JdbcUtil().executeSel(sql, obj);
		if(list != null){
			return list.size();
		}else{
			return 0;
		}
		
	}
}
